package com.moxiao.yfjh.module.blind.convert.mechanism;

import com.moxiao.yfjh.module.blind.controller.admin.mechanism.vo.MemberMechanismCreateReqVO;
import com.moxiao.yfjh.module.blind.controller.admin.mechanism.vo.MemberMechanismExcelVO;
import com.moxiao.yfjh.module.blind.controller.admin.mechanism.vo.MemberMechanismRespVO;
import com.moxiao.yfjh.module.blind.controller.admin.mechanism.vo.MemberMechanismUpdateReqVO;
import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.blind.controller.admin.mechanism.vo.*;
import com.moxiao.yfjh.module.blind.dal.dataobject.mechanism.MemberMechanismDO;

/**
 * 相亲会员等级机制 Convert
 *
 * @author mx
 */
@Mapper
public interface MemberMechanismConvert {

    MemberMechanismConvert INSTANCE = Mappers.getMapper(MemberMechanismConvert.class);

    List<MemberMechanismDO> convert(List<MemberMechanismCreateReqVO> bean);

    MemberMechanismDO convert(MemberMechanismUpdateReqVO bean);

    MemberMechanismRespVO convert(MemberMechanismDO bean);

    List<MemberMechanismRespVO> convertList(List<MemberMechanismDO> list);

    PageResult<MemberMechanismRespVO> convertPage(PageResult<MemberMechanismDO> page);

    List<MemberMechanismExcelVO> convertList02(List<MemberMechanismDO> list);

}
